From: Jasper St. Pierre Date: Fri, 28 Oct 2011 19:47:51 +0000 (-0400) Subject: extensionSystem: Remove duplciated version check X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7356 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=203c5db5ebcd484cab17cad5b622f41338a60b38;p=gnome-shell.git extensionSystem: Remove duplciated version check This piece of accidentally duplicated code made sure that the OUT_OF_DATE status was never set. https://bugzilla.gnome.org/show_bug.cgi?id=662967 --- diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index f70aecde9..a1fdbdefe 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -346,12 +346,6 @@ function loadExtension(dir, type, enabled) { return; } - if (!versionCheck(meta['shell-version'], Config.PACKAGE_VERSION) || - (meta['js-version'] && !versionCheck(meta['js-version'], Config.GJS_VERSION))) { - logExtensionError(uuid, 'extension is not compatible with current GNOME Shell and/or GJS version'); - return; - } - extensionMeta[uuid] = meta; meta.type = type; meta.dir = dir;